1. #### GRID / MESH
A **mesh** divides a geometry into many elements. These are used by the CFD solver to construct **control volumes**.
**Terminology:**
• Cell = control volume into which domain is broken up.
• Node = grid point.
• Cell centre = centre of a cell.
• Edge = boundary of a face.
• Face = boundary of a cell.
• Zone = grouping of nodes, faces, cells
• Domain = group of node, face and cell zones.
![](https://static.wixstatic.com/media/a27d24_44c1783e9f2b46bf8732e6d549365a6f~mv2.jpg/v1/fill/w_1244,h_415,al_c,q_90/a27d24_44c1783e9f2b46bf8732e6d549365a6f~mv2.webp)
Points to consider when generating a mesh are:
• Mesh resolution
• Type of mesh
• Computer resources
The **shapes of control volumes** depend on the** capabilities of the solver**.
- Structured-grid codes use quadrilaterals in 2D and hexahedrons in 3D flows.
- Unstructured-grid solvers often use triangles (2D) or tetrahedron (3D), but newer codes can use arbitrary polyhedrons.
![](https://static.wixstatic.com/media/a27d24_76b7481957424129998d971dff193a3f~mv2.jpg/v1/fill/w_1055,h_505,al_c,q_90/a27d24_76b7481957424129998d971dff193a3f~mv2.webp)
2. #### Grid Structure
The purpose of the mesh generator is to decompose the flow domain into control volumes.
The primary outputs are:
• cell vertices
• connectivity information
Precisely where the _nodes_ are relative to the vertices depends on whether the solver uses, for example, cell-centred or cell-vertex storage. Further complexity is introduced if a staggered velocity grid is employed.
![](https://static.wixstatic.com/media/a27d24_2f3b58f27cae4c18b84aadd1ae85e746~mv2.jpg/v1/fill/w_1269,h_476,al_c,q_90/a27d24_2f3b58f27cae4c18b84aadd1ae85e746~mv2.webp)
3. #### Grid Types
- Structured Grids
- Cartesian
- Curvilinear
![](https://static.wixstatic.com/media/a27d24_c6fe6fa7c6084836a5224872decd5045~mv2.jpg/v1/fill/w_799,h_507,al_c,q_90/a27d24_c6fe6fa7c6084836a5224872decd5045~mv2.webp)
4. #### Block-structured Grids
a) Matching
b) Non-matching
c) Chimera (composite)
![](https://static.wixstatic.com/media/a27d24_4df5c5b91f714394a6af9037ae0b1ac6~mv2.jpg/v1/fill/w_1102,h_337,al_c,q_90/a27d24_4df5c5b91f714394a6af9037ae0b1ac6~mv2.webp)
![](https://static.wixstatic.com/media/a27d24_09ee9a2e86624a8da3419caa9cb88814~mv2.jpg/v1/fill/w_1214,h_432,al_c,q_90/a27d24_09ee9a2e86624a8da3419caa9cb88814~mv2.webp)
Generally, multiple blocks are useful in maintaining a structured grid configuration around complex boundaries.
- generally desirable to avoid sharp changes in grid direction (which lead to lower accuracy) in important and rapidly changing regions of the flow, such as near solid boundaries.
- One should also strive to minimise the non-orthogonality of the grid.
https://www.manchestercfd.co.uk/post/all-there-is-to-know-about-different-mesh-types-in-cfd
#CFD